ifneq ($(KERNELRELEASE),)

obj-m := evb2440_adc.o

else
	
KDIR := /work/mini2440/kernel/mini-2.6.32.2/linux-2.6.32.2 
all:
	make -C $(KDIR) M=$(PWD) modules ARCH=arm CROSS_COMPILE=arm-linux-
clean:
	rm -f *.ko *.o *.mod.o *.mod.c *.symvers

endif
